<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>后台登录</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/login-lanyun.css}">
</head>
<body class="login-layout Reg_log_style">
<div class="logintop">
    <span>欢迎后台管理界面平台</span>
    <ul>
        <li><a href="#">返回首页</a></li>
        <li><a href="#">帮助</a></li>
        <li><a href="#">关于</a></li>
    </ul>
</div>
<div id="content">
    <form th:action="@{/login}" method="post">
        <div class="login-input-box">
            <!--/*@thymesVar id="loginName" type="java"*/-->
            <span style="font-size: 12px;color: #ff1013;font-size: 16px;padding-left: 20px" th:text="${loginName}"></span><br>
            <span class="icon icon-user"></span>
            <input name="loginName" type="text" placeholder="Username"><br>
        </div>
		<div class="login-input-box">
			<!--/*@thymesVar id="pwd" type="java"*/-->
			<span style="font-size: 12px;color: #ff1013;font-size: 16px;padding-left: 20px" th:text="${pwd}"></span><br>
			<span class="icon icon-password"></span>
			<input name="pwd" type="password" placeholder="Password"><br><br>
		</div>
        <span style="font-size: 12px;color: #ff1013;font-size: 16px;padding-left: 20px" th:text="${session.loginError}"></span><br>
		<span style="font-size: 12px;color: #ff1013;font-size: 16px;padding-left: 20px" th:text="${error}"></span><br>
        <span style="font-size: 12px;color: #ff1013;font-size: 16px;padding-left: 20px" th:text="${state}"></span><br>
		<div class="login-button-box">
            <input type="submit" id="button" value="Login">
        </div>
    </form>
</div>
</body>
</html>